﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NLite.Validation
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    [Contract]
    public interface IValidator<T> 
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="instance"></param>
        /// <returns></returns>
        IValidationResult Validate(T instance);
    }
}
